home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Code Resources / Jims CDEFs 1.50 / CDEF Source / source / cdefBar.h < prev    next >
Encoding:
Text File  |  1995-11-08  |  1.2 KB  |  33 lines  |  [TEXT/KAHL]

  1. //------------------------- © 1994-1995 by James G. Stout --------------------------
  2. // File        : cdefBar.h
  3. // Date        : May 2, 1994
  4. // Author    : Jim Stout
  5. //            :
  6. // Purpose    : header file for cdefBar.c
  7. //----------------------------------------------------------------------------------
  8. //----------------------------------------------------------------------------------
  9. // variation codes    
  10. //----------------------------------------------------------------------------------
  11.  
  12. #define vertBar    0x01
  13. #define roundBar 0x02
  14. #define barberPole 0x04
  15.  
  16. //----------------------------------------------------------------------------------
  17. // control private data
  18. //----------------------------------------------------------------------------------
  19.  
  20. typedef struct {
  21. Pattern            thePat;
  22. }cdefData,**cdefHdl;
  23.  
  24.     
  25. //----------------------------------------------------------------------------------
  26. //    Function prototypes
  27. //----------------------------------------------------------------------------------
  28.  
  29. static void    drawRectBar            (ControlHandle theControl, short);
  30. static void    drawRoundEndBar        (ControlHandle theControl, short);
  31. static void frame3DRect            (Rect *rr);
  32. static void frame3DRoundEndBar    (Rect *r, short diameter, Boolean inColor);
  33.